SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '790d6ef4231714a812faebb4810cbfe987b646c59fce3bf563fca0459ee7b3fe' 
  AND token = 'uzvQ3ZXR/chQefrTB50hj2Ucv1N9M98m/9ELc2yhutw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00057

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}