SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f8ad6c8dc8a189d78f85f17a2b2b7016a035c1c2702553fdfe60d29c3deccea1' 
  AND token = 'yI4Bo+oftRo9zu8G76ytLwic8a/pLX9X7Pqx+UjS1W8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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